package com.erji.common.cos.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "tencent.cos")
public class TencentCOSproperties {
    private String rootSrc ; // https://tence**********349516.cos.ap-nanjing.myqcloud.com
    private String bucketAddr; // ap-nanjing
    private String SecretId; // AKIDqa9Bz**********KAk5A0oNfiV
    private String SecretKey; // eZLr89**********IXaP0MVRBnESUN
    private String bucketName; // tencen**********8349516

    public String getRootSrc() {
        return rootSrc;
    }

    public void setRootSrc(String rootSrc) {
        this.rootSrc = rootSrc;
    }

    public String getBucketAddr() {
        return bucketAddr;
    }

    public void setBucketAddr(String bucketAddr) {
        this.bucketAddr = bucketAddr;
    }

    public String getSecretId() {
        return SecretId;
    }

    public void setSecretId(String secretId) {
        SecretId = secretId;
    }

    public String getSecretKey() {
        return SecretKey;
    }

    public void setSecretKey(String secretKey) {
        SecretKey = secretKey;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }
}
